equal
deleted
inserted
replaced
1635 "bind to any address. A free port will be allocated. |
1635 "bind to any address. A free port will be allocated. |
1636 Our own socket address will be determined after conection set up. |
1636 Our own socket address will be determined after conection set up. |
1637 This is the default after the socket has been created" |
1637 This is the default after the socket has been created" |
1638 |
1638 |
1639 ^ self |
1639 ^ self |
1640 bindTo:nil |
1640 bindTo:nil |
1641 address:nil |
1641 address:nil |
1642 reuseAddress:false |
1642 reuseAddress:false |
|
1643 |
|
1644 " |
|
1645 self newTCP bindAnonymously; listenFor:1; yourself |
|
1646 " |
1643 ! |
1647 ! |
1644 |
1648 |
1645 bindAnonymouslyToAddress:addressString |
1649 bindAnonymouslyToAddress:addressString |
1646 "bind to address addressString. |
1650 "bind to address addressString. |
1647 A free port will be allocated" |
1651 A free port will be allocated" |
1648 |
1652 |
1649 ^ self |
1653 ^ self |
1650 bindTo:nil |
1654 bindTo:nil |
1651 address:addressString |
1655 address:addressString |
1652 reuseAddress:false |
1656 reuseAddress:false |
|
1657 |
|
1658 " |
|
1659 self newTCP bindAnonymouslyToAddress:IPSocketAddress local; listenFor:1; yourself |
|
1660 " |
1653 ! |
1661 ! |
1654 |
1662 |
1655 bindTo:aSocketAddress |
1663 bindTo:aSocketAddress |
1656 "ST80 compatible bind, expecting a socketAddress argument. |
1664 "ST80 compatible bind, expecting a socketAddress argument. |
1657 The socketAddress object (an instance of SocketAddress) |
1665 The socketAddress object (an instance of SocketAddress) |
3941 ! ! |
3949 ! ! |
3942 |
3950 |
3943 !Socket class methodsFor:'documentation'! |
3951 !Socket class methodsFor:'documentation'! |
3944 |
3952 |
3945 version |
3953 version |
3946 ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.243 2008-03-28 12:47:59 stefan Exp $' |
3954 ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.244 2008-03-31 13:23:47 stefan Exp $' |
3947 ! ! |
3955 ! ! |