---
name: "ost_SockException"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.7.3-1.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ost_SockException"
---

# ost\_SockException(3)

## NAME

ost::SockException -

## SYNOPSIS

`#include <socket.h>`

Inherits **ost::IOException**.

### Public Member Functions

**SockException** (const **String** &str, **Socket::Error** socketError, long systemError=0)\
 **Socket::Error** **getSocketError** () const \

## Detailed Description

**Examples:**

**tcp.cpp**.

## Constructor & Destructor Documentation

### ost::SockException::SockException (const String & str, Socket::Error socketError, long systemError = `0`)` [inline]`

## Member Function Documentation

### Socket::Error ost::SockException::getSocketError () const` [inline]`

## Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
