equal
deleted
inserted
replaced
3905 Socket new domain:#AF_INET type:#stream |
3905 Socket new domain:#AF_INET type:#stream |
3906 Socket new domain:#AF_UNIX type:#stream |
3906 Socket new domain:#AF_UNIX type:#stream |
3907 " |
3907 " |
3908 ! ! |
3908 ! ! |
3909 |
3909 |
3910 |
|
3911 !Socket methodsFor:'specials'! |
3910 !Socket methodsFor:'specials'! |
3912 |
3911 |
3913 linger:anIntegerOrNil |
3912 linger:anIntegerOrNil |
3914 "set the linger behavior on close: |
3913 "set the linger behavior on close: |
3915 anIntegerOrNil == nil: close returns immediately, socket tries |
3914 anIntegerOrNil == nil: close returns immediately, socket tries |
4239 (returns false, if unsupported)" |
4238 (returns false, if unsupported)" |
4240 |
4239 |
4241 ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil. |
4240 ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil. |
4242 ! ! |
4241 ! ! |
4243 |
4242 |
|
4243 !Socket methodsFor:'testing'! |
|
4244 |
|
4245 isSocket |
|
4246 ^ true |
|
4247 ! ! |
4244 |
4248 |
4245 !Socket methodsFor:'waiting'! |
4249 !Socket methodsFor:'waiting'! |
4246 |
4250 |
4247 waitForNewConnectionOrDataOnAny:otherConnections timeout:secondsOrTimeDurationOrNil |
4251 waitForNewConnectionOrDataOnAny:otherConnections timeout:secondsOrTimeDurationOrNil |
4248 "suspend the current process, until either a new connection comes |
4252 "suspend the current process, until either a new connection comes |