请教:服务端在ConnectionRequest子程序中如何得到远程连接过来的主机名???
请教:服务端在ConnectionRequest子程序中如何得到远程连接过来的主机名??? --------------------编程问答-------------------- Private Sub sck_ConnectionRequest(ByVal requestID As Long)dim strRemoteName as string '远程连接过来的主机名
sock.Accept requestID
strRemoteName = sock.RemoteHost
End Sub
补充:VB , 基础类