Joshua Prismon's Technical weblog

.NET News Now

ManagedSocket

A little snippit of the newest code I have been working on to get BiDirectionalTCP up to speed:

[TCPSocket(port=9999)]

public class mySocket

{

[SocketMap(AcceptingState=True)]

[Socket(SendReturnVal=True)]

[SocketMap(NextState=Sockets.Close)]

public string init([SocketParser(NullTerminatedString] string Version])

{

              return "connected";

}

}

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)