i think that udp could work :) we can make an inteligent way.... if udp fail two or three times we change to tcp, after some good reads we change back to udp and if fail for some time repeat... what you think? it's easier to be implement on ownet sure, just implemnt owserver to work with udp, and after we think about udp and tcp handling on ownet :) tcp to udp have many changes on code?? i never wrote an udp server... just udp clients (dns)
Roberto Spadim escreveu: > lost packets are not an issue > i think that serial (uart) have lost packets connection don't have??? > > > Paul Alfille escreveu: > >> UDP might work well. There are potential problems with packets being >> lost, or recieved out of sequence, or fragmented. >> >> The more reliability we try to layer on udp, the closer we get to tcp. >> >> UDP would make the most sense for rapid polling and monitoring >> applications, where lost packets are not an issue. >> >> Paul Alfille >> >> On 1/11/07, *Roberto Spadim* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> thinking about UDP... >> have any problem using udp instead tcp?! i don't know if timeout and >> many process on server side could "crash" system, what you say? >> >> Paul Alfille escreveu: >> > On 1/9/07, *ziggy* < [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> >> wrote: >> > >> > >> > 2. I don't believe this is a significant issue. While there >> may be >> > no hard limits on the number of concurrent connections now, the >> > practical limit is 1. The 1-wire is single access and can not be >> > shared. Trying to use multiple connections simultaneously >> winds up >> > making them all slow, with frequent timeouts. >> > >> > This may be a reflection of your style of use. I can envision high >> > frequency control processes, and lof frequency logging and >> > display/monitoring processes all attacking the same 1-wire bus. >> > Particulary if some of the processes can use cached results. >> > >> > Paul >> > >> > >> ------------------------------------------------------------------------ >> > Esta mensagem foi verificada pelo E-mail Protegido Terra >> > <http://mail.terra.com.br/>. >> > Scan engine: McAfee VirusScan / Atualizado em 10/01/2007 / Versão: >> > 5.1.00/4936 >> > Proteja o seu e-mail Terra: http://mail.terra.com.br/ >> > >> ------------------------------------------------------------------------ >> > >> > >> ------------------------------------------------------------------------- >> > Take Surveys. Earn Cash. Influence the Future of IT >> > Join SourceForge.net's Techsay panel and you'll get the chance >> to share your >> > opinions on IT & business topics through brief surveys - and >> earn cash >> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> > >> ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Owfs-developers mailing list >> > [email protected] >> <mailto:[email protected]> >> > https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> ------------------------------------------------------------------------ >> Esta mensagem foi verificada pelo E-mail Protegido Terra >> <http://mail.terra.com.br/>. >> Scan engine: McAfee VirusScan / Atualizado em 10/01/2007 / Versão: >> 5.1.00/4936 >> Proteja o seu e-mail Terra: http://mail.terra.com.br/ >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: McAfee VirusScan / Atualizado em 10/01/2007 / Versão: 5.1.00/4936 > Proteja o seu e-mail Terra: http://mail.terra.com.br/ > > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
