Re: network/multithreaded programming on FreeBSD



Karol Kwiatkowski wrote:
Michael S wrote:
Good day all,

I am not sure this is the correct list for my
question, I am still going to ask though.
I am a 3rd year computer science student and in the
fall I am going to be taking courses in network and
system programming (with pthread). As a lot of
universities do, mine also teaches these courses on
Linux. I was wondering if there was a lot of
difference in socket and multi-threaded programming
between Linux and FreeBSD?

Hi Michael,
the system calls you'll need for networking socket programming and
pthreads are POSIX compliant on both linux and freebsd.
Thus, you'll be able to port your programs between the two systems.

I suggest to refer to the POSIX pages on threads:
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html
and sockets:
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_10.html

and to read the wonderful Beej's guite to network programming:
http://www.beej.us/guide/bgnet/

Thanks in advance,
I hope this helps,

Michael

--
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: Book for socket programming?
    ... I have the Beginning Linux Programming book, ... I've seen Linux Socket Programming by ... the socket APIs based on standard like Posix.1g and XTI. ...
    (comp.os.linux.development.apps)
  • Re: Trusting localhost?
    ... If security is a high concern and you must use an inet domain socket and not ... You can use a network analyzer for windows like windump or ethereal to ... > programming guide and a great book named Unix Network Programming. ... > your socket to network interfaces, I have seen several OSs with some ARP ...
    (SecProg)
  • Re: Book for socket programming?
    ... I have the Beginning Linux Programming book, ... I've seen Linux Socket Programming by ... "These source files have been made available by Addison-Wesley ...
    (comp.os.linux.development.apps)
  • Re: Pleae help in building multiclient socket application
    ... > assigned to develop a multiclient socket application. ... > the clients can communication through the server only. ... "Beginning Linux Programming" ... Programming". ...
    (comp.os.linux.development.apps)
  • Re: socket programming
    ... > programming in linux. ... How do I send a data structure over the internet ... > I'm new to socket programming. ...
    (comp.os.linux.networking)