BREW模拟器无法连接本地服务器的问题

Edit the “Sockets” entry in your device skin file.

The entry has the following structure BREW2.1 onwards:

Sockets
  nSocketLimit
  bListenAccept
  bShutdown
  bLoopback
  nMaxSendTo

where the new members are:

  • bListenAccept: the device supports Listen(). Default: 0
  • bShutdown: the device supports Shutdown(). Default: 0
  • bLoopback: the device supports a loopback interface (i.e. 127.0.0.1). Default: 0
  • nMaxSendTo: the maximum payload size for UDP datagrams sent via OEM_SendTo(). Default: 1472 bytes

主要是 Loopback 一项,改为 1。

标签: 技术