UDP Socket Programming in C

1 Comment

We will look at User Data-gram Protocol programming in this article. We will follow C-LINUX language specifications.

Our objective is to send a message from one host to another, through socket programming. We will create two programs, `Client.c` and `Server.c`.

 

Download the sample code from here.

The sample code sends a message ‘Hello World’ between the two host using UDP Socket Programming.

 

For any questions/suggestions, please comment.

World Congress on Mathematics and Statistics 2011

Leave a comment

2011 World Congress on Mathematics and Statistics

(WCMS’11)

from 24 to 26 July, 2011

Cairo, Egypt

SCOPE


Papers are invited in all areas of mathematics and statistics with a focus on the following areas:

1- Mathematics:


Algebra , Analysis, Applied Mathematics, Arithmetic, Calculus, Combinatorics, Complex Analysis, Computational Geometry, Computational Mathematics, Computational Science, Computer Algebra, Cross-disciplinary areas of Mathematics, Cryptology, Differential Equations, Differential Geometry, Discrete Mathematics, Dynamical Systems, Financial Mathematics, Finite Mathematics, Foundations of Mathematics, Fourier Analysis & Wavelets, Fractals, Genetic Algorithms, Geometry, History of Mathematics, Industrial Mathematics, Linear & Nonlinear Programming, Linear and Matrix Algebra, Logic, Mathematical Biology, Mathematics Education, Multivariable Calculus, Nonlinear Dynamics, Number Theory, Numerical Analysis, Ordinary Differential Equations, Partial Differential Equations, Pre-Algebra, Pre-Calculus, Probability, Set Theory, Topology, Trigonometry, and Other Areas of Mathematics.

2-      Statistics:


Agricultural Statistics, Applied Statistics, Bayesian Statistics,  Computational Statistics, Computer Simulations, Cross-disciplinary areas of Statistics, Econometrics, Educational Statistics, Environmental Statistics, Industrial Statistics, Management Science, Mathematical Statistics, Medical Statistics, Non-Parametric Statistics, Operations Research, Probability, Psychological Measurement, Quantitative Methods, Statistical Modeling, Statistics Education, and Other Areas of Statistics.


SUBMISSION GUIDELINES

Prospective authors are invited to submit papers based on their original work using the format provided on the conference website. We also encourage submissions of proposals for tutorials and special sessions (like round tables ? etc.). Details of the submission are available on the main conference website: http://infomesr.org/en/scientific-research/conferences/2011-conferences/48-wcms11


Also, you can submit your paper through: http://infomesr.org/en/scientific-research/paper-submission


All submitted papers will be peer-reviewed. The accepted papers must be presented during the conference period in order to be published in the conference proceedings, which will be available starting from July 1, 2011, throughThe Online Journal on Mathematics and Statistics (OJMS).

SCHEDULE

Submission of full papers:  March 31, 2011
Acceptance notification:    May    01, 2011
Camera ready submission: May   15, 2011


Please, don’t hesitate to ask about anything.


Thank you very much and hope to see you in Egypt, where INFOMESR conferences.
———————————————————–


* Please, DISTRIBUTE this CFP to your colleagues and all persons interested in our conferences subjects


* To avoid spam, when reply, please, replace [AT] with @ and [dot] with .
* All replies must be directed to: admin[AT]infomesr[dot]org
———————————————————–

CONTACTS

Conferences Reporter
Tel. (002 - 010) 6896063
Fax. (002 - 02) 24488366

Apple, Anti-Google Rant

Leave a comment

Apple CEO, Steve Jobs, talks about fragmented Google strategy for its Mobile OS, Android. He mentions few major factors that make Android fragmented. Like,

  • Multiple App markets.
  • App compatibility with variety of hardwares available for Android.

These factors effect the usability and make developers life a ‘mess’. Here, i will not elaborate much on his viewpoint. He is going to speak for himself.

 
 

Understanding Web Scraping

1 Comment

Since the evolution of world-wide-web, the world has become a small village and we refer it to ‘Global Village’. No doubt, the impact of web on personal and commercial life is very prominent and it has played a vital role in the rapid growth of information. The upbringing of web went through very innovative hands and minds. In today’s world, where we retrieve and share information with the world for several purposes, we prefer using web since it is fastest and easily accessible to more people.

 
 

Web-scraping is generally referred to scripts that surf web and collect information in certain format, for instance XML. A real life example of web-scraping is crawler. Web-scraping is another form of retrieval of data from web. It is a technique through which we can collect useful and meaningful information that we may require for any purpose.

For example, if we need to start a service to provide latest happenings in town, and we do not have interest in investing our time and money into news investigation. We can use web for retrieval of data that is required for our service. Simply we can scrap what information we require from web and use it, and run our own service.

 
 

For a business recording sales trend in a certain region, it might be easy to scrap information from web rather than generating data by them self. Similarly, developers who find other companies sharing same interest may would like to scrap some information from other web-sites and add them to their listing in order to make their system effective.

For example, a search engine, in addition to its crawler activity on world-wide-web, may have a dedicated crawler over popular search engines to gather more and effective information for its users.

 
 

Like scraping is as easy as piece of a cake for developers and maybe sometimes very unpleasant for company owners whoose sites are being scraped. Preventing scraping; anti-scraping techniques can be adapted to ensure your information is private. One of the technique used is ‘CAPTCHA: Telling Humans and Computers Apart Automatically‘. It helps preventing bots accessing private regions of your web-site.

 
 

I must not forget to mention in bold that web-scraping is ILLEGAL without permission, and it will might sometime get you in trouble. Similarly, if you own a service that provides original information, no other person can scrap your original data. To know more about your *rights*, *web-crawlers* and other terms read in this post, stay tuned. :-)

 
 

Utilizing 64-bit Capability

6 Comments

BISMILLAHI RAHMANI RAHIM


I just came across a thought, how to utilize a 64-bit processor. One of such a piece is at Pi-Labs, may be. [CTO's PC].


So, the thought is if we design a simple application on 64-bits processor that runs with exactly two instances. Both instances are made to work on separate 32 bits, that is one on lower 32-bits and other on higher 32-bits. After this, we can run 32-bits Virtual Machine Software on each of these instances, or let these instances handle 32-bits Operating Systems them selves.


In this way, we have two Operating Systems running at the same time, yet using full 32-bits resources, each of them. For instance, one of them runs Windows7, for Windows Phone7 Development and other for H/Macintosh for iPhone Development, and all we have to do is, press [Windows + Alt + Tab] to switch between them.


The important thing here is that, we do not waste any resources and utilizing hardware capabilities to its level best. The point of discussion with readers, is to identify the possible architectural problems in afore mentioned thought and to get to know, if such a thing already exists in the real world.


Thank You for reading.


Follow

Get every new post delivered to your Inbox.