Re: socket interface



On 29 Feb, 21:56, Kellie Fitton <KELLIEFIT...@xxxxxxxxx> wrote:
On Feb 29, 9:11 am, Gio <giovanni_dim...@xxxxxxxxxxx> wrote:

Hi,
I'm using an old version of ACUCOBOL (4,3) and would like to open an
IP port to read data.
The idea is to write an IPInterface.
Is anybody aware of some samples to do this?
Thanks for your help.

Hi,

You can use the following APIs to allocate/create/handle Windows
sockets andinterfacewith IP ports:

WSASocket()

WSAStartup()

bind()

listen()

WSAConnect()

WSASend()

WSARecv()

WSARecvEx()

WSAAccept()

DisconnectEx()

shutdown()

closesocket()

WSACleanup()

WSAGetLastError()

http://tangentsoft.net/wskfaq/

http://msdn2.microsoft.com/en-us/library/ms742212(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms742213(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms737550(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms739168(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741559(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms742203(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741688(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741684(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741513(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms737757(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms740481(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms737582(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741549(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/ms741580(VS.85).aspx

Kellie.

Thank you Kellie,
once again you are a star.

Giovanni
.



Relevant Pages

  • Re: socket interface
    ... I'm using an old version of ACUCOBOL and would like to open an ... IP port to read data. ... The idea is to write an IP Interface. ... WSAGetLastError() ...
    (comp.lang.cobol)
  • Ethernet (was Re: Digital TV for Residential Care Homes)
    ... I would have thought placing the 2ndary splitters around the building will allow less coax than a star. ... A plain hub takes the signal from each of the connections, and sends it out on all the other connections. ... The other type, the switch, sends the messages from each connection to whichever single other port is required. ...
    (uk.tech.digital-tv)