mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
GSTcpPort tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6122 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f483855510
commit
ce05a6d371
2 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,8 @@ main()
|
|||
remote = [names portForName: @"GSTcpPort"];
|
||||
[loop addPort: (NSPort*)local forMode: NSDefaultRunLoopMode];
|
||||
[remote sendBeforeDate: [NSDate dateWithTimeIntervalSinceNow: 240]
|
||||
components: [NSMutableArray arrayWithObject: [NSData data]]
|
||||
components: [NSMutableArray arrayWithObject:
|
||||
[NSData dataWithBytes: "hello" length: 5]]
|
||||
from: local
|
||||
reserved: 0];
|
||||
[loop run];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue