|
 |
|
|
| |
|
Micro Focus [
return
] |
|
From |
Message |
basile
10/28/2005 14:51:21
|
Subject: Connecting to a port
Message: I'm trying to connect to a port that a server app is listening on, but I cannot bind to the port because it is already in use (let's say port 7001)on a Windows 2000 box, using NetExpress 2.0.
If my program binds to a port that it is listening on (let's say port 7002), I can receive data from a client app.
I'm using a slightly modified version of the GCSTCPSV.CBL program that can be found on the code samples page (sockets.zip), but this example sends and receives on the same port.
My app needs to send data on one port (7002) and listen to another port (7001). Another of the examples in the sockets.zip file uses a "connect" function, but when I try to use that, a "Protocol Not Supported" error is displayed.
Any advice would be really appreciated.
Thank you
|
|
|
|
|
|
|
|
|
|
|
[ Go to Top of Page ]
|
|
 |
|
COBOL Forums |
Do you need COBOL help?
Let the COBUG members help you.
Post your issues!
|
 |
|
COBOL Job Resources |
Here are references to a wealth of
COBOL job resources, including job listing sites, resume preparation, and interview questions.
|
 |
|
Job and Resume Matchmaker! |
Employers submit your COBOL job openings.
Job seekers submit your resumes.
|
 |
|