# Interface MCP.SocketTransportFactory

Enclosing class:
  `MCP`

public static interface MCP.SocketTransportFactory
Supplies the platform loopback socket transport. The socket transport lives outside the portable core because it binds a real server socket to the loopback interface, which the portable `Socket` API does not allow (it binds the wildcard address, exposing the channel on every network interface). The JavaSE port registers its implementation during initialization.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MCPTransport`
  `createSocketTransport(int port)`

- ## Method Details

  - ### createSocketTransport

    MCPTransport createSocketTransport(int port)