Search Results

Search: Posts Made By: jaywalker
Forum: Programming 01-12-2011
3,754
Posted By jaywalker
Thanks! I am new to *nix programming and didn't...
Thanks! I am new to *nix programming and didn't know the useful perror. It was giving me "Bad file descriptor", which hinted me that something was wrong with the socket I was passing to accept(). And...
Forum: Programming 01-12-2011
3,754
Posted By jaywalker
socket accept() keeps looping
I'm using C/ C++ with gcc on Linux. I've a server socket where accept() is called on the socket inside a while() loop. The problem I am facing is that the first call to accept is blocking (i.e., the...
Forum: Programming 01-10-2011
5,787
Posted By jaywalker
Well, that's a very interesting guide but...
Well, that's a very interesting guide but slightly different from what I wanted. Firstly, there is too much baby talk. And secondly, it doesn't discuss the "header" files aspect till the point I have...
Forum: Programming 01-10-2011
5,787
Posted By jaywalker
POSIX Socket Programming Header Files
I can see a number of header files in the POSIX standard related to TCP/IP based socket programming:

arpa/inet.h
net/if.h
netdb.h
netinet/in.h
netinet/tcp.h
sys/socket.h


Except for...
Forum: Programming 01-10-2011
1,729
Posted By jaywalker
Hi Solaris User, The problem is not with...
Hi Solaris User,

The problem is not with your understanding of "how to print" something. I think you are a bit confused about how to set up "conditions." The easiest way is as follows:

if ( a...
Forum: Programming 01-02-2011
3,337
Posted By jaywalker
Unix System Programming Book
Hi,

I've almost finished "Advanced Linux Programming" book. However, I feel as if I need dig deeper in IPC specially socket programming as well as multi-threading. Can anyone recommend a good book...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy