Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Make a server?

grg99
Beginner
559 Views
Does anyone have an example of makng a internet server using Intel Fortran?

I tried doing a SOCKET( AF_INET, SOCK_STREAM, 0 ) call but it failed. And don't know how to retrieve errno() from DFWin.

Any examples greatly appreciated !



0 Kudos
1 Reply
grg99
Beginner
559 Views
Never mind, I figured it out by myself. You have to call WSAStartup for some mostly unfathomable reason. Then socket, bind, listen, and accept work mostly just fine.


0 Kudos
Reply