Replace the C socket API in C++ on z/OS [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am including sys/socket.h, I still get compile time errors telling me that AF_INET is not defined. but still i am facing the issues getting the C sockets API to work properly in C++. please help me...

check out the z/OS UNIX System Services sockets section in the z/OS XL C/C++ Programming Guide. Make sure you're including the necessary header files and using the appropriate #defines.

Related

Process to process remote communication [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have 2 processes running on 2 different machines.
What is the best way to communicate between those to send instructions WITHOUT using any username/password?
Language : C++
There are many solutions with different pros and cons. Try googling for it.
Since you've not given any other requirements, the simplest way is via socket programming. Check out this https://www.geeksforgeeks.org/socket-programming-cc/ for some basic knowledge and http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html for examples.

Access linux's terminal per pixel [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to write text-based gui. Is there a way to access terminal per pixel using pure C++? I read a one method, but it was SDL based ;[
Not sure what you imply by "Pure C++", but ncurses is the go-to library for CLI applications (and there is a port for Windows called pdcurses )

I want to design E-mail client design [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to design an email client and its environment in c++ languagewhich can provide similar facilities as gmail client has. Can somebody tell me what things i need to read and follow? or any help?
Read a lot of books and web pages about SMTP, IMAP, email clients, MTA. Consider using Qt and some libraries like Vmime
Study the source code of several free software email clients like mutt, evolution, kmail....
Be familiar with Linux, so read Advanced Linux Programming.
You might need several years of work.

How do I write a TCP app for AX22xx [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am have brought a Development board AX22001. I want to write an TCP app server/client.
But I don't really know, where to write app and how to program it over.
Do anyone in here have got any experience with AX22001?
I hope you guys can help, I did try to write to AX22001 support but they are too slow answering my questions.
You know, there's a fairly comprehensive amount of information, demo code, manuals, APIs, and references on their website: http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=106;72;104. My suggestion would be to start reading through it!

How to get network message in the application level? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
In my c++ application, I want to get the HTTP messages such like GET/200OK, and then parse them in to my own struct. How can I get them from the networking card in the run time?
You can try using libucyrl mentioned in this answer.
Also you can write your own TCP client/server application and read the data from sockets, then parse it the way you want it. In this case is better to familiarize first with the HTTP protocol.
I think some tutorials might be useful too, so here are a couple of links:
http://www.freeos.com/articles/4121/
http://www.jmarshall.com/easy/http/