Jake-Ye

Results 8 comments of Jake-Ye

> Hi! By "listener" do you mean the socket accepted by the listener or the listener socket itself? Those are two different beasts. What was the reason for a caller...

> > That's not possible to have one party disconnected and the other receiving data because there's no one to send them. Might be that there's still something in the...

> That's not possible to have one party disconnected and the other receiving data because there's no one to send them. Might be that there's still something in the flight,...

### non-Blocking Mode Service ### Initialization method ``` - (void)initData { srt_startup(); self.ss = srt_create_socket(); } ``` ### Binding port ``` - (void)bind:(NSURL *)uri { NSString *scheme = uri.scheme; NSString...

### non-Blocking Client ``` ### Initialization method - (void)initData { srt_startup(); self.ss = srt_create_socket(); } ### connect to Service - (void)connect:(NSURL *)uri { NSString *scheme = uri.scheme; NSString *host =...

> @Jake-Ye : please also try to edit the comments with pasted code and put: the ` marker 3 times at the beginninng and the end. That isn't readable in...

> You said you are using epoll - what exactly data are being received from `srt_recvmsg` after the connection is broken? What's the return value from `srt_recvmsg`? > > Note...

> > The exact data returned is the string data sent by the client, and the return value is the byte length of the received data > > Do I...