Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serial Port Listener

Status
Not open for further replies.

kheyro

Programmer
May 5, 2005
2
0
0
RO
I need to create, or get an already created, serial port listener, with wich i can work, it should send and receive data, basicaly, it should be a virtual device connected to serial port.
Any ideas?
Thanks
 
hyperterminal?

If somethings hard to do, its not worth doing - Homer Simpson
 
we have an app (vb form) that runs on the server 24/7 that does what you're asking (I believe). Here's what the code looks like on the form load event sub:

Private Sub Form_Load()
main
frmServer.Show
lblHostId.Caption = Socket(0).LocalHostName
lblAddress.Caption = Socket(0).LocalIP
Socket(0).LocalPort = 1007
sServerMsg = "Listening to port: " & Socket(0).LocalPort
List1.AddItem sServerMsg
Socket(0).Listen
End Sub

Is this what you had in mind?

AMACycle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top