Scroll down till you find Microsoft Winsock Control 6.0. Once the form pops up on the screen hit ctrl+t, Open up Visual Basic, select Standard Exe as the new project type. RemotePort Get/Set the port you are connecting to. RemoteHostIp Get the IP of the host you are connected to. RemoteHost Get/Set the remote host to connect to. Protocol Get/Set the protocol to use (UDP or TCP) PeekData Read the in buffer without taking it out. ![]() Parent Returns the object that the control is on. LocalPort Set/Get the local port you are using. LocalHostName Return the local name of the host. While using the windows socket ActiveX control Winsock.īytesRecieved Return the number of bytes received. Winsock explained.īoth of the protocols we have been discussing, can be implemented on Windows based systems with relative ease, UDP source examples can can be downloaded here. ![]() Visual Basic Winsock Tutorial Using VB and Winsock
0 Comments
Leave a Reply. |