[Mono-list] no UDPListener

Kornél Pál kornelpal at hotmail.com
Tue Jul 5 04:11:15 EDT 2005


Hi,

UDP is a connectionless protocol so you cannot estabilish a connection and
thus you don't need a listener. (UDPClient class has Connect and Close
methods but in fact there is no connection at protocol level.) The only this
you have to do is to use the Receive method to get data.

For an example see:
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconusingudpservices.asp

Kornél

----- Original Message -----
From: "Superbiji at gmail.com" <superbiji at gmail.com>
Hi all,

why there is no UDPListener class?

while in python, there is even ThreadingUDPServer
sorry for comparing, because i was using python

--
kamus online - http://kamus.landak.com/



More information about the Mono-list mailing list