connectionless socket??

fguihen

Junior Contributor
Joined
Nov 10, 2003
Messages
248
Location
Eire
how do i create a connectionless socket, that will listen for data comming in the IrDa port? all i can find is sockets for TCP/IP connections?
 
You can use UDP instead of TCP. Sorry, I don't actually know much about UDP, except that it is a connectionless protocol. When you use Sockets in .NET, the Socket constructor takes a Protocol enumeration as one of the arguments. Protocol has a few enumerations I think, one is Tcp and one is Udp. Check MSDN for examples.


DiscoJimmy
 
Back
Top