Re: Sockets in C unter Unix

Dierk Fröhling <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization aycan
Message-ID <[email protected]>

Philipp Thomas wrote:

>>bcopy(hp->h_addr, &server.sin_addr, hp->h_length);
> 
> 
> Und wenn man's wirklich gut machen will, ersetzt man das nicht
> standardgemässe bcopy durch memcpy :)

Ich wollte ihn nicht noch mehr verwirren.
Dann wird ja auch noch die Reihenfolge source/destination bei den 
Argumenten vertauscht...


-- 

Mit freundlichen Grüßen
Best regards

// Dierk Froehling
// aycan Digitalsysteme GmbH
// Innere Aumuehlstrasse 5
// 97076 Wuerzburg
// Germany
// phone: +49.931.270 40 90
// fax: +49.931.270 40 91
// mailto:[email protected]
// http://www.aycan.de



-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.