Win32getsockname Function
|
|
命名空间:
VOInternetClasses
程序集:
VOInternetClasses (在 VOInternetClasses.dll 中) 版本:2.24 GA
Syntax[DllImportAttribute("WSOCK32", EntryPoint := "getsockname", CharSet := CharSet.Auto,
ExactSpelling := TRUE, SetLastError := TRUE)]
FUNCTION Win32getsockname(
s AS DWORD,
name AS _WINsockaddr_in*,
namelen AS LONG*
) AS LONG[DllImportAttribute("WSOCK32", EntryPoint = "getsockname", CharSet = CharSet.Auto,
ExactSpelling = true, SetLastError = true)]
public static int Win32getsockname(
uint s,
_WINsockaddr_in* name,
int* namelen
) Request Example
查看代码Parameters
- s
- 类型:DWord
- name
- 类型:_WINsockaddr_in*
- namelen
- 类型:Long*
Return Value
类型:
Long
See Also