This shows you the differences between two versions of the page.
public:howto:createsocket [2007/11/30 14:30] 127.0.0.1 external edit |
public:howto:createsocket [2011/07/12 18:01] (current) daemon_x |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | On very old Synapse versions you must allways call CreateSocket explicitly. | + | On very old Synapse versions you must always call CreateSocket explicitly. |
Then I do 'autocreate' socket capability. When You call Connect or Bind on non- | Then I do 'autocreate' socket capability. When You call Connect or Bind on non- | ||
Line 10: | Line 10: | ||
From release 31 is CreateSocket changed! | From release 31 is CreateSocket changed! | ||
- | By default, you not need call CreateSocket. It is created automaticly. When you | + | By default, you not need call CreateSocket. It is created automatically. When you |
have family on SF_Any (default), then Synapse must know IP address for | have family on SF_Any (default), then Synapse must know IP address for | ||
- | determinig, if must cretae IPv4 or IPv6 socket. This is reason, why I moved | + | determinig, if must create IPv4 or IPv6 socket. This is reason, why I moved |
creating of socket after name resolution in Connect or Bind method. | creating of socket after name resolution in Connect or Bind method. | ||