# \[BUG\] FSockets and IPv6 networks

**URL:** <https://forums.unrealengine.com/t/bug-fsockets-and-ipv6-networks/389626>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, fsocket, unreal-engine, question\
**Created:** [March 31, 2017, 9:15pm UTC](https://forums.unrealengine.com/t/bug-fsockets-and-ipv6-networks/389626 "2017-03-31T21:15:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saltylike](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/saltylike/32/875361_2.png) [@Saltylike](https://forums.unrealengine.com/u/Saltylike)\
**Post date:** [March 31, 2017, 9:15pm UTC](https://forums.unrealengine.com/t/bug-fsockets-and-ipv6-networks/389626/1 "2017-03-31T21:15:32Z")

</div>

Hello, our team is working in a mobile multiplayer game ([link][1]).

We are about to launch a external test flight on IOS but Apple rejected our app because ' **is not IPv6 capable**", here the message:

> “We discovered one or more bugs in  
> your app when reviewed on iPhone and  
> iPad running iOS 10.3 on Wi-Fi  
> connected to an IPv6 network.”
> 
> “To resolve this issue, please run  
> your app on a device while connected  
> to an IPv6 network (all apps must  
> support IPv6) to identify any issues,  
> then revise and resubmit your app for  
> review.”

We’re followed the Apple’s IPv6 netwok guide ([link][2]) and we was able to reproduce the issue as is described next:

In order to understand our problem i’ll explain how our servers works.

- The client (ue) connects with our backend.
- After the socket connection is established we send the login credentials.
- The backend validates the petition and send the response back.

It works perfect if using a IPv4 network connection, but it fails using a IPv6 one, and it is mandatory regarding the new apple IPv6 policy ([link][3]).

**The issue:**

- [Scoket-\>GetConnectionState()] returns [SCS\_Connected] so the socket is supposed to be connected.
- Anyways when the client send the login credentials the packet fails, to be clear [Server-\>Send(…)] returns [FALSE].

**To take in consideration:**

- Engine version: 4.14.3 (source), [modified][5].

- Our sockets are implemented according this [link][4].

- The backend is running in a windows machine (AWS EC2 with Windows Server 2012 Standard, supporting IPv4 and IPv6 networks)

- The backend sockets supports dual mode.

![132383-tcpview.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/7/f674505731de2bdb8f2a4b74eb0d105d2e29f28f.jpeg)

**Possible related issue:**

- [Dedicated server connection issues with IPv6 networks][7]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [April 6, 2017, 8:16pm UTC](https://forums.unrealengine.com/t/bug-fsockets-and-ipv6-networks/389626/2 "2017-04-06T20:16:54Z")

</div>

Hello HDardis,

Thank you for reporting this issue. I’m currently looking into getting a test set up for this but due to the network modifications required, it’s taking some time. I’ll try to get back to you as soon as possible.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [August 30, 2017, 1:51pm UTC](https://forums.unrealengine.com/t/bug-fsockets-and-ipv6-networks/389626/3 "2017-08-30T13:51:53Z")

</div>

Hello HDardis, I apologize for the delay on this response; Are you still experiencing this issue? If so, I would like to continue looking into it.
