equal
deleted
inserted
replaced
3757 Socket new domain:#AF_INET type:#stream |
3757 Socket new domain:#AF_INET type:#stream |
3758 Socket new domain:#AF_UNIX type:#stream |
3758 Socket new domain:#AF_UNIX type:#stream |
3759 " |
3759 " |
3760 ! ! |
3760 ! ! |
3761 |
3761 |
3762 |
|
3763 !Socket methodsFor:'specials'! |
3762 !Socket methodsFor:'specials'! |
3764 |
3763 |
3765 linger:anIntegerOrNil |
3764 linger:anIntegerOrNil |
3766 "set the linger behavior on close: |
3765 "set the linger behavior on close: |
3767 anIntegerOrNil == nil: close returns immediately, socket tries |
3766 anIntegerOrNil == nil: close returns immediately, socket tries |
4033 (returns false, if unsupported)" |
4032 (returns false, if unsupported)" |
4034 |
4033 |
4035 ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil. |
4034 ^ self setSocketOption:#'TCP_NODELAY' argument:aBoolean argument:nil. |
4036 ! ! |
4035 ! ! |
4037 |
4036 |
|
4037 !Socket methodsFor:'testing'! |
|
4038 |
|
4039 isSocket |
|
4040 "return true, if the receiver is some kind of socket; |
|
4041 false returned here - the method is only redefined in Socket." |
|
4042 |
|
4043 ^ true |
|
4044 ! ! |
4038 |
4045 |
4039 !Socket methodsFor:'waiting'! |
4046 !Socket methodsFor:'waiting'! |
4040 |
4047 |
4041 waitForNewConnectionOrDataOnAny:otherConnections timeout:timeoutSeconds |
4048 waitForNewConnectionOrDataOnAny:otherConnections timeout:timeoutSeconds |
4042 "suspend the current process, until either a new connection comes |
4049 "suspend the current process, until either a new connection comes |