Using Chromium classes in my application

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Using Chromium classes in my application

Postby cauthu » Wed May 20, 2015 9:12 am

Hi,

I'm familiar with Chromium (e.g., have modified the net subsystem for my needs), but I'm new to CEF. I want to use Chromium classes such as TCPClientSocket in my application (currently just playing with cefsimple). Will I have to follow what was done in this issue?

https://bitbucket.org/chromiumembedded/ ... nters-bind

e.g., copying net/socket/tcp_client_socket.{h,cpp} into cef similar to how base::string16 support was added (since I think TCPClientSocket doesn't require access to Chromium state)?

If this is a non-trivial task, maybe I should just use the good old Linux socket API? (I don't need to support non-Linux platforms--it's a personal project.)

Thanks!
cauthu
Newbie
 
Posts: 1
Joined: Wed May 20, 2015 8:32 am

Re: Using Chromium classes in my application

Postby magreenblatt » Wed May 20, 2015 11:45 am

It is a non-trivial task. It's likely much simpler just to use the socket API directly, or a library like boost.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 90 guests