trakfor.blogg.se

Windows 8 tcp ip
Windows 8 tcp ip










windows 8 tcp ip

Now we have to recive the Connection: void listenerConnectionReceived(StreamSocketListener sender, StreamSocketListenerConnectionReceivedEventArgs args)Ĭonsole.WriteLine(string.Format("Recive connection from ", .DisplayName)) īTW: I did a lot of research for this and haven't time left (and a Windows 8 METRO Development Environment) to prof my ideas. Will select the local TCP port on which to bind. If the localServiceName parameter is an empty string, then the system Click the Apple icon the click on System Preferences. Step 8: Click OK to save and apply your settings.

windows 8 tcp ip

Step 7 Change ‘Dot’ to Use the following IP address and input your IP and DNS information.

windows 8 tcp ip

_listener.ConnectionReceived += listenerConnectionReceived Īwait _listener.BindServiceNameAsync("localServiceName") Click Internet Protocol Version 4 (TCP/IP) then click Properties. 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.












Windows 8 tcp ip