SocketListener Object

Description

This object will listen on a port, returning socket objects from the connections made.

Methods

Listen

GetNextConnection

IsNewConnectionReady

Example

Set sl = CreateObject("Toolsack.SocketListener")
sl.Listen 999
Set s = sl.GetNextConnection(10)
s.Write "Hi you have connected to port 999 on this machine"
s.Close
 

Samples

Client Server - Client and server applications to transfer files over a socket connection.

Web Server - Uses Socket Classes to create a simple web server.

Articles

SMTP Troubleshooting - Describes the SMTP protocol and how to spy on it to track down problems.



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.