This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
uphp:functions:fsockopen [2017/04/13 07:14] jeff |
uphp:functions:fsockopen [2021/09/13 05:57] (current) |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====Description==== | ====Description==== | ||
| - | <well size=" | + | <well size=" |
| - | < | + | |
| <span style=" | <span style=" | ||
| - | <span style=" | + | <span style=" |
| - | </ | + | |
| - | [[fsockopen]] ( | + | |
| - | < | + | |
| <span style=" | <span style=" | ||
| <span style=" | <span style=" | ||
| Line 22: | Line 18: | ||
| <span style=" | <span style=" | ||
| <span style=" | <span style=" | ||
| - | </ | + | </ |
| - | </ | + | |
| Attempts to create a socket to a remote host using the protocol specified, and return the file handle for future operations. By default a TCP/IP connection will be initiated. If a UDP connection is required prefix the host name with udp:%%//%% (lower case). The socket will be opened in blocking mode. | Attempts to create a socket to a remote host using the protocol specified, and return the file handle for future operations. By default a TCP/IP connection will be initiated. If a UDP connection is required prefix the host name with udp:%%//%% (lower case). The socket will be opened in blocking mode. | ||
| Line 33: | Line 28: | ||
| < | < | ||
| - | < | + | < |
| - | ====Return | + | ====Return |
| < | < | ||
| Line 63: | Line 58: | ||
| </ | </ | ||
| - | ====See Also==== | + | ====Also |
| [[fopen()]] - Open a file for reading or writing | [[fopen()]] - Open a file for reading or writing | ||