Wanted: References on Sockets and Threads for C


 
Thread Tools Search this Thread
Top Forums Programming Wanted: References on Sockets and Threads for C
# 1  
Old 06-02-2006
Wanted: References on Sockets and Threads for C

I'm looking at http://www.opengroup.org/pubs/online...pthread.h.html trying to understand mutexs and semaphores. Windows makes a distinction between the two. Is a mutex and semaphore different in unix land?

Is there a tutorial on threading in unix somewhere?

I'm also looking at http://www.opengroup.org/pubs/online.../xns/recv.html hoping to find a tutorial or overview. Anybody know of one?

Thanks,
Siegfried
# 2  
Old 06-02-2006
A mutex is a mutual exclusion sempahore.


http://www.ecst.csuchico.edu/~beej/guide/ipc/ This starts basic IPC
It has a link to Beej's Socket Programming Tutorial which is also what you need.
# 3  
Old 06-02-2006
Site down?

I tried that last link and it keeps coming back with Network Timeout. Is there a typo?

Thanks,
Siegfried
# 4  
Old 06-02-2006
NO. Even worse - it's a university system. That means it can go offline for no particular reason Smilie I'm getting the same problem. And I checked the link just before I posted it earlier today.

But it is a valid link.
# 5  
Old 06-04-2006
Quote:
Originally Posted by jim mcnamara
http://www.ecst.csuchico.edu/~beej/guide/ipc/ This starts basic IPC
It has a link to Beej's Socket Programming Tutorial which is also what you need.
that link will be down until Monday morning.. FYI!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sort references

I have the following entries and want to perform a sort. Each entry is separated by a newline, however each line should not be considired seperate. Maybe an awk program or similar, or a small script. Anderson, E.R., Duvall, T.L., Jr., and Jefferies, S.M., 1990. Modelling of Solar... (6 Replies)
Discussion started by: kristinu
6 Replies

2. Shell Programming and Scripting

awk Programming references

Hi all, I am new and I am very interested in Awk programming language and would like to know what references or books that really worked for you that was clear, concise with simple examples. much appreciated in advance. (1 Reply)
Discussion started by: Apollo
1 Replies

3. Shell Programming and Scripting

Strip one of two Patch references

This log file is wacky. the syntax puts this in the Installation line: Installation PATCH75682.91 of PATCH75681 complete Installation PATCH76537.91 of PATCH76537 complete Installation PATCH92217.91 of PATCH92217 complete So I'm looking for a sed 's///' to remove the first PATCHxxxx... (6 Replies)
Discussion started by: dba_frog
6 Replies

4. Shell Programming and Scripting

Perl References/Dereferences

Can someone explain where can we actually used print $var->; or print $$var When does the -> becomes necessary and when its optional. (1 Reply)
Discussion started by: dinjo_jo
1 Replies

5. UNIX for Advanced & Expert Users

epoll, sockets and threads

Hello Forum, There is a transient bug in my code which I just can't catch. Could you help please? The basic idea is this. I have a multithreaded server and two thread pools, the IO pool and Worker pool. The main server thread listens to incoming connections. When it gets one, it dispatches... (0 Replies)
Discussion started by: rij
0 Replies

6. Shell Programming and Scripting

Regarding Shell Script References,PDF and Tutorials

Hi, Could you pls guide me a reference materials or PDF or Tutorials link for Shell Scripting.I'm new to Unix Shell Scripting.want to explore as much as possible in Shell Scripting.... Thanks Sollins (2 Replies)
Discussion started by: sollins
2 Replies

7. UNIX for Advanced & Expert Users

Compound indirect variable references

Using bash, I'm trying to read a .properties file (name=value pairs), assigning an indirect variable reference for each line in the file. The trick is that a property's value string may contain the name of a property that occurred earlier in the file, and I want the name of the 1st property to... (5 Replies)
Discussion started by: tkrussel
5 Replies

8. AIX

AIX References?

Would like to know where or what is available to quickly develope my AIX skills. Training budget limited.. Thanks and have a great day! (1 Reply)
Discussion started by: lmwical
1 Replies

9. UNIX for Dummies Questions & Answers

IRIX books, manuals, references...

Does anyone out there know of ANY specific books pertaining to SGI's flavor of Unix - IRIX? I have been in contact with SGI directly and they have not supplied me with any usable reference material or manuals. I realize man pages are a good source for info, but I need to go a little deeper... (6 Replies)
Discussion started by: lozinit
6 Replies
Login or Register to Ask a Question