# Using another lib (POCO) in an iPlug project

**URL:** <https://iplug2.discourse.group/t/using-another-lib-poco-in-an-iplug-project/243>\
**Category:** Uncategorized\
**Created:** [1 November 2020 12:13 UTC](https://iplug2.discourse.group/t/using-another-lib-poco-in-an-iplug-project/243 "2020-11-01T12:13:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DSV](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@DSV](https://iplug2.discourse.group/u/DSV)\
**Post date:** [1 November 2020 12:13 UTC](https://iplug2.discourse.group/t/using-another-lib-poco-in-an-iplug-project/243/1 "2020-11-01T12:13:48Z")

</div>

Hello! Thanks a lot for this wonderful framework!  
I just faced with some troubles. I need to have a simple internet access in a vst3 plug-in (GET, POST, DELETE etc). I found a POCO lib for these purposes and tried to connect. When I use it in a new clear project it works ok. But if I just add some include references to files from POCO to a simple iPlug “MyNewPlugin” based on an iPlugEffect example I have a lot of errors. For example:

```
E0040	expected an identifier	MyNewPlugin-app	C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\ws2def.h	440	
E0338	more than one instance of overloaded function "__WSAFDIsSet" has 'C' linkage	MyNewPlugin-app	C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\WinSock2.h	141	
C2011	'sockaddr': 'struct' type redefinition	MyNewPlugin-app	C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared\ws2def.h	238	

```

Could you give me some advice where do I have look for solution of that issue? Or may be iPlug has some instruments for that purposes without additional libraries? I can’t use a Windows API because it have to be a crossplatform plug-in.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![bindernews](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@bindernews](https://iplug2.discourse.group/u/bindernews)\
**Post date:** [2 November 2020 22:40 UTC](https://iplug2.discourse.group/t/using-another-lib-poco-in-an-iplug-project/243/2 "2020-11-02T22:40:40Z")

</div>

Can you share the MyNewPlugin.h file? Seems like you’ve got your includes wrong, or maybe you put a include inside a namespace?

---

<div class="post-metadata">

**Author:** ![DSV](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@DSV](https://iplug2.discourse.group/u/DSV)\
**Post date:** [3 November 2020 19:21 UTC](https://iplug2.discourse.group/t/using-another-lib-poco-in-an-iplug-project/243/3 "2020-11-03T19:21:20Z")

</div>

Thank you, [bindernews](https://iplug2.discourse.group/u/bindernews), for the answer! You just have opened my eyes! I placed the POCO includes before iPlug includes and the project was compiled completely.  
Thank you again!
