* Added 'get_pid', 'get/set_name' and 'cat' command.

* SocketFd::open_local() should use SOCK_STREAM, not SOCK_DGRAM.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@959 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-08-20 01:38:38 +00:00
parent 5ec7790aa9
commit ded9e12ff1
7 changed files with 56 additions and 2 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ SocketFd::open_datagram() {
bool
SocketFd::open_local() {
return (m_fd = socket(PF_LOCAL, SOCK_DGRAM, 0)) != -1;
return (m_fd = socket(PF_LOCAL, SOCK_STREAM, 0)) != -1;
}
void