## Socket::Close() method


Chiude la connessione del socket.

```cpp
void System::Net::Sockets::Socket::Close()
```

## Vedi anche

* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
## Socket::Close(int) method


Chiude la connessione del socket con il timeout specificato per consentire l'invio dei dati in coda.

```cpp
void System::Net::Sockets::Socket::Close(int timeout)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| timeout | int | Un numero di millisecondi da attendere. |

## Vedi anche

* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
