mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use system utility for string finds
This commit is contained in:
parent
ca73534d7e
commit
d9f991ed2f
16 changed files with 111 additions and 112 deletions
|
@ -202,6 +202,17 @@ public:
|
|||
virtual int writev(const iovec *iov, int iov_size, ssize_t* nwrite);
|
||||
};
|
||||
|
||||
/**
|
||||
* the common tcp client, to connect to specified TCP server,
|
||||
* reconnect and close the connection.
|
||||
*/
|
||||
class SrsTcpClient
|
||||
{
|
||||
public:
|
||||
SrsTcpClient();
|
||||
virtual ~SrsTcpClient();
|
||||
};
|
||||
|
||||
// initialize st, requires epoll.
|
||||
extern int srs_st_init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue