add socketDescriptor() method to ESL::Connection obj

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13770 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-06-12 22:57:13 +00:00
1 parent 9675a6e24b
commit 04a965edb3
11 files changed
+148

No files matched your search

+10
View File
@@ -33,6 +33,16 @@ ESLconnection::~ESLconnection()
}
int ESLconnection::socketDescriptor()
{
if (handle.connected) {
return (int) handle.sock;
}
return -1;
}
int ESLconnection::disconnect()
{
if (handle.connected) {