Logo Search packages:      
Sourcecode: fex version File versions  Download package

void fix::HttpClient::httpConnect ( String  host,
int  port 
) [inline]

Establishes a HTTP-Connection using a Socket

Parameters:
host The hostname to connect to

Definition at line 103 of file HttpClient.java.

References fix::ErrorWindow::setMess().

Referenced by connect().

                                                     {
            try {
                  socket = new Socket(host, port);
            } catch (UnknownHostException e) {
                  er.setMess("Host-Server is unknown.", e);
            } catch (IOException e) {
                  er.setMess("Could not connect to HTTP-Server: " + e.getMessage(), e);
            }
      }


Generated by  Doxygen 1.6.0   Back to index