preCICE v3.1.1
Loading...
Searching...
No Matches
SocketCommunicationFactory.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <string>
8
9namespace precice {
10namespace com {
12public:
13 SocketCommunicationFactory(unsigned short portNumber = 0,
14 bool reuseAddress = false,
17
19
21
23
24private:
25 unsigned short _portNumber;
29};
30} // namespace com
31} // namespace precice
SocketCommunicationFactory(unsigned short portNumber=0, bool reuseAddress=false, std::string networkName=utils::networking::loopbackInterfaceName(), std::string addressDirectory=".")
std::string loopbackInterfaceName()
Returns the name of the canonical loopback interface on this system.
Definition networking.cpp:5
Main namespace of the precice library.