Renamed all binaries with DDV_ prefix, updated Buffer for new systems, updated RAW connector, partly updated RTMP connector - ready for recode. All connectors now have host binding options.

This commit is contained in:
Thulinma 2011-04-09 03:24:29 +02:00
parent 62ccca1427
commit 1599894b6e
2 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,14 @@ DDV::Socket::Socket(int sockNo){
Blocking = false; Blocking = false;
}//DDV::Socket basic constructor }//DDV::Socket basic constructor
/// Create a new disconnected base socket. This is a basic constructor for placeholder purposes.
/// A socket created like this is always disconnected and should/could be overwritten at some point.
DDV::Socket::Socket(){
sock = -1;
Error = false;
Blocking = false;
}//DDV::Socket basic constructor
/// Close connection. The internal socket is closed and then set to -1. /// Close connection. The internal socket is closed and then set to -1.
void DDV::Socket::close(){ void DDV::Socket::close(){
#if DEBUG >= 3 #if DEBUG >= 3

View file

@ -19,6 +19,7 @@ namespace DDV{
private: private:
int sock; ///< Internally saved socket number. int sock; ///< Internally saved socket number.
public: public:
Socket(); ///< Create a new disconnected base socket.
Socket(int sockNo); ///< Create a new base socket. Socket(int sockNo); ///< Create a new base socket.
Socket(std::string adres, bool nonblock = false); ///< Create a new Unix Socket. Socket(std::string adres, bool nonblock = false); ///< Create a new Unix Socket.
bool Error; ///< Set to true if a socket error happened. bool Error; ///< Set to true if a socket error happened.