For Programmers: Free Programming Magazines  


Home > Archive > Cobol > February 2008 > socket interface









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author socket interface
Gio

2008-02-29, 6:55 pm

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 IP Interface.
Is anybody aware of some samples to do this?
Thanks for your help.
Kellie Fitton

2008-02-29, 6:55 pm

On Feb 29, 9:11=A0am, Gio <giovanni_dim...@virgilio.it> 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 IP Interface.
> 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 and interface with 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.

Gio

2008-02-29, 6:55 pm

On 29 Feb, 21:56, Kellie Fitton <KELLIEFIT...@yahoo.com> wrote:
> On Feb 29, 9:11 am, Gio <giovanni_dim...@virgilio.it> wrote:
>
>
> 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
Kellie Fitton

2008-02-29, 6:55 pm

On Feb 29, 1:58=A0pm, Gio <giovanni_dim...@virgilio.it> wrote:
>
> Thank you Kellie,
> once again you are a star.
>


Siete molto benvenuti...

Kellie.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com