![]() _listener.ConnectionReceived += listenerConnectionReceived Īwait _listener.BindServiceNameAsync("localServiceName") Then start the listener wire up a connection received event handler and bind the service name. private StreamSocketListener _listener = new StreamSocketListener() ![]() ![]() It's recommended to use StreamSocket class instead.Ī socket provides send and receive over TCP and a StreamSocketListener will listen for incoming TCP connections.įirst we need a Instance of StreamSocketListener.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |