socket programming

Hello
Can you help me with
socket programming on QNX4.25 ?

I got some code for Linux systems
but there the includes:

#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <netdb.h>

are required.

These are not available in QNX.
So, the program is useless.

Have you any idea other how to program sockets
or these includes?

Thanks

Ingo

Augie Henriques wrote:

Ingo Gross <> ingo.gross@zess.uni-siegen.de> > wrote in message
news:> 3A408908.68A73581@zess.uni-siegen.de> …
Hello
Can you help me with
socket programming on QNX4.25 ?

I got some code for Linux systems
but there the includes:

#include <sys/socket.h
#include <sys/wait.h
#include <netinet/in.h
#include <netdb.h

are required.

These are not available in QNX.
So, the program is useless.

Yes there are. Did you get the TCP/IP development?

Augie


Have you any idea other how to program sockets
or these includes?

Thanks

Ingo


\

QSSL lets you spend extra for some of those nonessential niceties like
networking and GUI. Why don’t you just run that code on a Linux system?

Ingo Gross <ingo.gross@zess.uni-siegen.de> wrote in message
news:3A408908.68A73581@zess.uni-siegen.de

Hello
Can you help me with
socket programming on QNX4.25 ?

I got some code for Linux systems
but there the includes:

#include <sys/socket.h
#include <sys/wait.h
#include <netinet/in.h
#include <netdb.h

are required.

These are not available in QNX.
So, the program is useless.

Yes there are. Did you get the TCP/IP development?

Augie

Have you any idea other how to program sockets
or these includes?

Thanks

Ingo

see /usr/demo/src/socket
(TCP/IP toolkit must be installed, unfortunately
TCP/IP is not included in QNX4 or Watcom C respectively)

Ingo Gross <ingo.gross@zess.uni-siegen.de> wrote:

Hello
Can you help me with
socket programming on QNX4.25 ?

I got some code for Linux systems
but there the includes:

#include <sys/socket.h
#include <sys/wait.h
#include <netinet/in.h
#include <netdb.h

are required.

These are not available in QNX.
So, the program is useless.

Have you any idea other how to program sockets
or these includes?

Thanks

Ingo