Changeset 2804 for pjproject/branches/1.0/pjlib/src/pj/ioqueue_symbian.cpp
- Timestamp:
- Jun 25, 2009 12:26:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.0/pjlib/src/pj/ioqueue_symbian.cpp
r2482 r2804 214 214 aAddress_.SetAddress(0); 215 215 aAddress_.SetPort(0); 216 sock_->Socket().Recv(aBufferPtr_, flags, iStatus); 216 217 if (sock_->IsDatagram()) { 218 sock_->Socket().Recv(aBufferPtr_, flags, iStatus); 219 } else { 220 // Using static like this is not pretty, but we don't need to use 221 // the value anyway, hence doing it like this is probably most 222 // optimal. 223 static TSockXfrLength len; 224 sock_->Socket().RecvOneOrMore(aBufferPtr_, flags, iStatus, len); 225 } 217 226 } 218 227 … … 278 287 { 279 288 CPjSocket *pjNewSock = new CPjSocket(get_pj_socket()->GetAf(), 289 get_pj_socket()->GetSockType(), 280 290 blank_sock_); 281 291 int addrlen = 0;
Note: See TracChangeset
for help on using the changeset viewer.