bug-myserver
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-myserver] Small fix in src/base/socket/socket.cpp: Socket::bind


From: ivailo ilionov
Subject: [bug-myserver] Small fix in src/base/socket/socket.cpp: Socket::bind
Date: Thu, 26 Mar 2009 04:06:36 +0200

The bind method of class Socket returns 1 for error or returns the value from the bind() from the C socket library which may be -1 on error.

Should I write a patch which re-writes the comments for each method for use with doxygen ?

About the test case for class Socket: should i write a different method for each variety of arguments ? For example:

void testGethostbynameAfInet ( );

void testGethostbynameAfInet6();

// ??

Attachment: socket.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]